<?php

/**
 * 用户等级演示数据
 */
$experiences = [0, 200, 400, 800, 1000, 1400, 2000, 3000, 4000, 5000, 6000, 7600, 9000, 11000, 13600, 16600, 20000, 24000, 28000, 34000];
$data = [];
for ($i = 1; $i <= 20; $i++) {
    $data[] = ['level_value' => $i, 'level_name' => "L{$i}", 'level_title' => "{$i}级", 'experience' => (isset($experiences[$i]) ? $experiences[$i] : 0),];
}
return ['table' => 'sw_user_levels',  'text' => '用户等级',  'truncate' => true,    'data' => $data, 'append' => ['created_at' => time(), 'updated_at' => time()],];
